<include file="Public/sui_header" />
	<div class="user-img">
		<div class="row user-phote-div">
	      <div class="col-20">
	      	<img src="/Public/file/{$user['photo']}" style="width:4rem;height:4rem;" class="img-round">
	      </div>
	      <div class="col-80 user-photo-info">
	      	{$user['name']}
	      	<br/>
	      	积分：{$user['credit']}
	      	<br/>
	      	{$user['username']}
	      </div>
	    </div>
	</div>
	<div style="font-size:1.2em">
	    <span class="color-block">&nbsp;</span>&nbsp;基本信息
	  </div>
	  <form method="post" enctype="multipart/form-data">
	<div class="card">
    <div class="card-content">
      <div class="card-content-inner">
      	  <div class="list-block">
		    <ul>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">用户名</div>
		            <div class="item-input">
                        <if condition="$user['username']">
		            	{$user['username']}
                        <else/>
		            	    <input type="text" name="username" value="{$user['username']}" placeholder="请填写手机号码">
                        </if>
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">姓名</div>
		            <div class="item-input">
		            	<input type="text" name="name" value="{$user['name']}">
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">身份证号</div>
		            <div class="item-input">
		            	<input type="text" name="id_number" value="{$user['id_number']}">
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">所在地</div>
		            <div class="item-input">
		            	<input type="text" name="location" value="{$user['location']}">
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">生日</div>
		            <div class="item-input">
		            	<input type="date" name="birthday" value="{$user['birthday']|date='Y-m-d',###}">
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">邮箱</div>
		            <div class="item-input">
		            	<input type="text" name="email" value="{$user['email']}">
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">余额</div>
		            <div class="item-input">
		            	{$user['balance']}
		            </div>
		          </div>
		        </div>
		      </li>
		      <li>
		        <div class="item-content">
		          <div class="item-inner">
		            <div class="item-title label">头像</div>
		            <div class="item-input">
		            	<input type="file" name="photo">
		            </div>
		          </div>
		        </div>
		      </li>
		    </ul>
		  </div>
      </div>
    </div>
  </div>
  <div class="row detail-submit">
      <div class="col-50"><a href="#" class="button button-big button-fill button-info close-panel return">返回</a></div>
      <div class="col-50"><input value="修改" type="submit" class="button button-big button-fill button-success"/></div>
  </div>
  </form>
<include file="Public/sui_footer" />
